{"ast":null,"code":"export default function contains(root, n) {\n  if (!root) {\n    return false;\n  }\n  // Use native if support\n  if (root.contains) {\n    return root.contains(n);\n  }\n  // `document.contains` not support with IE11\n  var node = n;\n  while (node) {\n    if (node === root) {\n      return true;\n    }\n    node = node.parentNode;\n  }\n  return false;\n}","map":{"version":3,"names":["contains","root","n","node","parentNode"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/rc-util/es/Dom/contains.js"],"sourcesContent":["export default function contains(root, n) {\n  if (!root) {\n    return false;\n  }\n  // Use native if support\n  if (root.contains) {\n    return root.contains(n);\n  }\n  // `document.contains` not support with IE11\n  var node = n;\n  while (node) {\n    if (node === root) {\n      return true;\n    }\n    node = node.parentNode;\n  }\n  return false;\n}"],"mappings":"AAAA,eAAe,SAASA,QAAQ,CAACC,IAAI,EAAEC,CAAC,EAAE;EACxC,IAAI,CAACD,IAAI,EAAE;IACT,OAAO,KAAK;EACd;EACA;EACA,IAAIA,IAAI,CAACD,QAAQ,EAAE;IACjB,OAAOC,IAAI,CAACD,QAAQ,CAACE,CAAC,CAAC;EACzB;EACA;EACA,IAAIC,IAAI,GAAGD,CAAC;EACZ,OAAOC,IAAI,EAAE;IACX,IAAIA,IAAI,KAAKF,IAAI,EAAE;MACjB,OAAO,IAAI;IACb;IACAE,IAAI,GAAGA,IAAI,CAACC,UAAU;EACxB;EACA,OAAO,KAAK;AACd"},"metadata":{},"sourceType":"module"}